package com.jingdianjichi.application.convent;

import com.jingdianjichi.application.Dto.SubjectAnswerDTO;
import com.jingdianjichi.subject.domain.entity.SubjectAnswerBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerConventer {

    SubjectAnswerConventer INSERT = Mappers.getMapper(SubjectAnswerConventer.class);

    SubjectAnswerBo conventBoToLabel(SubjectAnswerDTO subjectAnswerDTO);

    List<SubjectAnswerBo> conventLIstToBO(List<SubjectAnswerDTO> dtoList);

}
